<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Creates an instance of EvEmbed watcher associated
  with the current EvLoop object.</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="evloop.defaultloop.html">EvLoop::defaultLoop</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="evloop.fork.html">EvLoop::fork</a></div>
 <div class="up"><a href="class.evloop.html">EvLoop</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="evloop.embed" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">EvLoop::embed</h1>
  <p class="verinfo">(PECL ev &gt;= 0.2.0)</p><p class="refpurpose"><span class="refname">EvLoop::embed</span> &mdash; <span class="dc-title">Creates an instance of EvEmbed watcher associated
  with the current EvLoop object.</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-evloop.embed-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">final</span>
   <span class="modifier">public</span>
   <span class="type"><a href="class.evembed.html" class="type EvEmbed">EvEmbed</a></span> 
   <span class="methodname"><strong>EvLoop::embed</strong></span>
    ( <span class="methodparam">
    <span class="type">string</span>
     <code class="parameter">$other</code>
   </span>
   [, <span class="methodparam">
    <span class="type">string</span>
     <code class="parameter">$callback</code>
   </span>
   [, <span class="methodparam">
    <span class="type">string</span>
     <code class="parameter">$data</code>
   </span>
   [, <span class="methodparam">
    <span class="type">string</span>
     <code class="parameter">$priority</code>
   </span>
  ]]] )</div>

  <p class="para rdfs-comment">
   Creates an instance of
   <a href="class.evembed.html" class="classname">EvEmbed</a>
   watcher associated with the current
   <a href="class.evloop.html" class="classname">EvLoop</a>
   object.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-evloop.embed-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   All parameters have the same meaning as for
   <span class="methodname"><a href="evembed.construct.html" class="methodname">EvEmbed::__construct()</a></span>
   .
  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-evloop.embed-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns EvEmbed object on success.
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-evloop.embed-seealso">
  <h3 class="title">参见</h3>
  <ul class="simplelist">
   <li class="member">
    <span class="methodname"><a href="evembed.construct.html" class="methodname" rel="rdfs-seeAlso">EvEmbed::__construct()</a> - Constructs the EvEmbed object</span>
   </li>
  </ul>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="evloop.defaultloop.html">EvLoop::defaultLoop</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="evloop.fork.html">EvLoop::fork</a></div>
 <div class="up"><a href="class.evloop.html">EvLoop</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
